package routers

import (
	"admin-panel/controllers"
	beego "github.com/beego/beego/v2/server/web"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/login", &controllers.User{}, "post:Login")
	beego.Router("/list", &controllers.User{}, "get:List")
	beego.Router("/detail", &controllers.User{}, "get:Detail")
}
